export class systemconfig {
  id?: number;
  name = '';
                    name=''
                  title=''
                  formId=''
                  value=''
                  status=''
                  createTime=''
                  updateTime=''
        constructor(data?: systemconfig) {
    data && this.setProps(data);
  }

  setProps(data: systemconfig) {
    (Object.keys(this) as Array<keyof Isystemconfig>).forEach((key) => {
      // @ts-ignore
      this[key] = data[key]
    })
  }
}

export type Isystemconfig = Omit<systemconfig, 'setProps'>